package com.changpay.zywy.mvp.contract

import com.changpay.zywy.base.IModel
import com.changpay.zywy.base.IPresenter
import com.changpay.zywy.base.IView
import com.changpay.zywy.bean.CountBean
import com.changpay.zywy.bean.HttpResult
import io.reactivex.Observable

interface CountTotalContract {

    interface View : IView {
        fun showStats(data: CountBean)
    }

    interface Presenter : IPresenter<View> {
        fun getStats(map: MutableMap<String, String>)
    }

    interface Model : IModel {
        fun getStats( map: MutableMap<String, String>): Observable<HttpResult<CountBean>>
    }
}